# -*- conding:UTF-8 -*-

'''
@ Project: code
@ File: settings.py
@ Author: 张志坤
@ Date：2022/5/18 18:01

'''


# 从对象中获取
class DefaultConfig(object):
    MYSQL_HOST = '127.0.0.1'
    MYSQL_PORT = 3306
    # MYSQL_USER = 'root'
    # MYSQL_PASSWORD = '100352@lp'
    # MYSQL_DATABASE = 'student518'
    # MYSQL_CHARSET = "utf8"

# # 从配置文件中获取
# MYSQL_HOST = '127.0.0.1'
# MYSQL_PORT = 3306
# MYSQL_USER = 'root'
# MYSQL_PASSWORD = '100352@lp'
# MYSQL_DATABASE = 'student518'
# MYSQL_CHARSET = "utf8"


# 从环境变量中获取
# MYSQL_PORT = 3306
